package m.jclecai.com.utils;

import android.os.CountDownTimer;
import android.view.View;

public class TimeCounts extends CountDownTimer {

	private View view;

	public TimeCounts(long millisInFuture, long countDownInterval,View view) {
		super(millisInFuture, countDownInterval);// 参数依次为总时长,和计时的时间间隔
		this.view = view;
	}

	@Override
	public void onFinish() {// 计时完毕时触发
//	 btn_code.setText("发送验证码");
//	 btn_code.setClickable(true);
	} 

	@Override
	public void onTick(long millisUntilFinished) {// 计时过程显示
	// btn_code.setClickable(false);
	// btn_code.setText(millisUntilFinished / 1000 + "秒");
	}
}
